<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<div id="heading" class="section">
	<h2>Registrarse en el sistema</h2>
</div>

<div class="section">

    <form:form modelAttribute="persona"  method="post" action="registrar">
	 <div class="field">
                <div class="label">Nombre:</div>
                <div class="output">${persona.nombre}</div>
          </div>
          <div class="field">
                <div class="label">Apellidos:</div>
                <div class="input">${persona.apellido}</div>
          </div>

           <div class="field">
                <div class="label">Email:</div>
                <div class="input">${persona.email}</div>
          </div>
          <div class="field">
                <div class="label">Usuario:</div>
                <div class="input">${persona.usuario}</div>
          </div>
            <div class="field">
                <div class="label">Clave:</div>
                <div class="input">${persona.password}</div>
          </div>

        &nbsp;<br/>
        &nbsp;<br/>
        &nbsp;<br/>
        &nbsp;<br/>
        &nbsp;<br/>
        &nbsp;<br/>
	<div class="buttonGroup">
            <input type="submit" name="submitform" value="Registrar"/>
	</div>
        </form:form>

</div>